
        <div id="buscar">
            <%= form_tag({:action=> "index", :method => 'get'}) %>
            <span style="FLOAT: left"><h1><input id="t" class="texto" onclick="javascript:restart('t')" type="text" value="Buscar Sexo..." name="search"></h1></span><input type="image" img src="/images/search.png" border="0px" align="right" style="padding-right:10px";  alt="Buscar Caballos" title="Buscar Caballo">
            </form>
        </div>
        <div class="post">
            <h2>Sexos</h2>
            <br/>
            <table border="1px">
                <tr>
                    <th align='left'>
                        Sexos
                    </th>
                    <th align='left'>
                        Acciones
                    </th>
                </tr>
                <% @horsesexes.each do |horsesexe| %>
                <tr>
                    <td width='150px' height="32px">
                        <%=h horsesexe.sex_name %>
                    </td>
                    <td width='150px' height="32px">
                        <%= link_to '<img src="images/profile.png" border="0px" align="left" style="padding-right:10px"; alt="Ver Perfiel" title="Ver Perfiel">', horsesexe,:class=>'opacityit' %>
                        <%= link_to '<img src="images/edit.png" border="0px" align="left" style="padding-right:10px"; alt="Ver Perfiel" title="Ver Perfiel">', edit_horsesex_path(horsesexe),:class=>'opacityit' %>
                    </td>
                </tr>
                <% end %>
            </table>
        </div>
    </div>
    <div id="sidebar">
        <ul>
            <li>
                <h2>Herramientas</h2>
                <ul>
                    <li>
                        <%= link_to 'Insertar Caballo', new_horse_path %>
                    </li>
                    <li>
                        <%= link_to 'Ver Familias', families_path %>
                    </li>
                    <li>
                        <%= link_to 'Ver Jefes de Razas', breedheads_path %>
                    </li>
                </ul>
            </li>
        </ul>        
    </div>
